<template>
	<div :class="['header-prompt',width =='full' ? 'full' : '']">
		{{label}}
	</div>
</template>
<script>
	export default{
		props:{
			label:String,
			width:String
		},
		
	}
</script>
<style scoped>
	.header-prompt{
		width: 100px;
		height: 32px;
		line-height: 32px;
		border-bottom: 1px solid #c5c5c5;
		padding-left: 10px;
		position: relative;
		margin-bottom: 10px; 
	}
	.full{
		width: 100%;
	}
	.header-prompt:before{
	  content: " ";
	  width: 3px;
	  height: 16px;
	  background: #ff5a5f;
	  position: absolute;
	  top: 8px;
	  left: 0;
	}
</style>